package com.example.tools.security.annotation;

import com.example.tools.security.configure.MallResourceServerConfigure;
import com.example.tools.security.configure.JwtTokenConfig;
import org.springframework.context.annotation.Import;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

import java.lang.annotation.*;

/**
 * Description:
 *
 * @author Yang
 * create time 2021-08-23 20:51
 * @since 0.0.1
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableResourceServer //开启资源服务器
@Import({MallResourceServerConfigure.class, JwtTokenConfig.class})
public @interface EnableMallResourceServer {
}
